There will always be some desktop applications which doesn't make a ton of sense (either logically or financially) to port them to the web.
For most other type of applications, we already have web equivalents (so coyly termed as "the lite version" in some cases).
Javascript may be the most awful language to write code in. But, if there are users (and a way to make money), you'll always find developers willing to write code in JS.