Fix emscripten problem