* some emscripten fixes