Further lua emscripten env work