Js1k is a project mainly written in JavaScript, it's free.
My js1k sibmission, open-sourced under the GPL.
Smalls avoid bigs, bigs eat smalls. Life as it happens to be. You can even bet on it.
http://js1k.com/demo/248