JS is like a common cold - annoying, commonplace and still not cured. I mean some diseases are worth than cold, so JS is not so bad.
I have my solution to the problem: Haxe. I write my server and client in the same language as I write my games and other desktop software.
Also, guess what? It's all native code.
Seriously, why don't more people use Haxe? It's amazing.
It looks great, but: no ReSharper, I don't like JS transpilers, no way my employer will switch to something obscure. Promoting new languages is hard, even Google has a lot of trouble promoting Go and Dart.
But, I also agree with you. Are people only using it everywhere because it's what they know, or am I missing something that proves it's actually the right tool for all these jobs?
I like Javascript, but every time I see people go gaga over some choppy implementation of 1995 technology in Javascript, I have to laugh.