Simplified emscripten script