An HTML5 game engine in the making