If WASM were a viable target today, I'd agree, but it isn't yet.

Transpiling to JS is ready for production and widely compatible with all browsers already.