Wip on emscripten support