(EMSCRIPTEN) add analog emulator support