The web is inertia. It's unstoppable, the network effect is to big. In my opinion JavaScript became irreplaceable the moment it shipped (it certainly is now). It's pretty much the only platform that delivers interactivity with a world-wide audience.
So as we'll need/have more and more JavaScript developers, they'll become cheaper and easier to replace, and people will continue to want to build things that can be built by cheap labor.