I'm writing a javascript chess game write now and I'm currently at 200 lines + 50 of HTML. The source code of mine is larger than the byte code of his program. I am a moron.
My first attempt at a javascript chess game was almost 7 years ago. 159 lines of javascript and html. Unfortunately, it's nothing more than a pieces-on-board sim. It doesn't do anything to control play or prevent cheating. It was college, it was fun http://members.gamedev.net/capn_midnight/chess/chess.html