setup the emscripten code and renamed the files for ios