Updated EmscriptenApplication.js from Magnum repository.