remove reinit hack, turned out to be an emscripten bug