testing emscripten compatibility