A Thin JavaScript Game Engine Base on HTML5 Canvas2D