Basic game loop with Box2d.js