we need to get this in emscripten, the upstream for the relooper, too