Add Emscripten support.