Make temp_files in main() in emscripten.py, not globally.