“JavaScript is a language. WebAssembly is a compilation target.”
Jeroen Rombouts
1

True, that’s why asm.js came to be. The issue is that JS as a compilation target is not very good. See here for a very good explanation.

I feel that transpilation is the best we can do today but will never be as good as WebAssembly.