js game template (crafty, maple, tiled, box2d)