HTML5 Game Engine written in Javascript