Implement JS runner for box2d.js library (compiled by emscripten)