There is no way Javascript is going away, considering it's in the top 10 most used languages right now. And with tools such as React, Node, Express, Angular, it's actually going to get much more popular. Pretty much right now you can build software using web tech like HTML, CSS, JS. For example desktop apps that are built HTML, CSS, JS and Electron are Atom.io, Brackets, Slack, Visual Studio Code, and so much more. Even the League of Legends client UI is built using these tech.