No reason to get stuck in the shit, there are many nicer languages that compile TO #javascript
Personally I switched to #elm to regain my sanity but there are many others like #clojurescript #purescript etc. And now with #webassembly others like #rust will be coming soon.