JS and Box2D game