It was written in neatly written javascript.
It was already open source. :P
The change here is that it's been GPL'd, so you could (legally) build another game using parts of it if you wanted.
edit: see also http://blog.doublespeakgames.com/?p=21
(I did beat it without cheats but that took quite some time)