Javascript sadly is unlikely to go anywhere anytime soon. They just keep making more and more abstractions and frameworks, so the entire server/app/browser domains are totally in js with junk like React, Agular, Ember, Backbone, Node, ect ect.
Now employers only have to select a pool of javascript developers instead of finding Go devs for server infrastructure backends, Erlang devs for concurrent message passing systems, comptent C/C++ system administrators, ect. They just need one javascript guy who boots up an absolute shit show of frameworks and controls the server, backend daemons, frontend, mobile app(s) ect. all from js.
Then it will be a race to the bottom, open up huge developer factories in Bangladesh, they just need to know .js everything else totally abstracted away.