Some emscriptes fixes.