temp hacking emscripten to work