A simple HTML5 game engine