HTML5 game engine for side scrolling platformer