HTML5/CoffeeScript game engine