An interesting thought for the future is if wasm will make other languages viable on the web. It would be interesting to see if anything else picks up steam as a serious competitor to JavaScript.
The advantage of straight JS is that you don't have to compile it. Once you accept a compilation step you have quite a few pretty good alternatives like TypeScript.