In this system, what is WASM drawing the UI to?
So you can either try manipulating the DOM w/ some bindings or draw to canvas.
There is still some javascript requirement as the wasm approach generally needs some JS setup bits in order to have things work. Languages that can compile to wasm should already have that pretty well figured out by this stage though. In theory. ;)