A chess engine written in Javascript.
https://code.google.com/p/js-chess/