A 2d-game and game-engine in HTML5, Canvas2d and Javascirpt