Port of Box2D to JavaScript using Emscripten