Coffeescript version

just ran js2coffee on it....
http://js2coffee.org/