JS is compilation target for most modern x-platform UIs. Every big JS project is compiling some how: ES6/7/etc, TypeScript, Flow (ok, not exactly compiling), CoffeeScript, Elm, PureScript, Reason, GHCJS, ClojureScript, JSX, etc. etc.
And that is ok. Until WebAssembly matures, then those compilers will all just add it as a compiler backend.