Emscripten compile works