watt: Add primitive Emscripten support