add set gravity to box2d Emscripten adapter