Why stop with WebAssembly? Why not address the entire notion that we're tricking document-rendering browsers into being application runtimes?
A lot of the problems we run into are people treating DOM nodes as if they were UI widgets, when in reality they are lower-level primitives for drawing and capturing input.