Client use emscripten or duetto based on url