Simple (really simple) game engine in Web (no HTML5)