Gotta say, ive done magical things in Javascript. NodeJS in particular can do damn near anything you set your mind to, and it doesnt give a damn if you use tab or 4 spaces.
Most software out there is not consumer facing (there is a huge amount of custom stuff inside companies of all sizes) and even in the consumer space most software nowadays resides in ... smartphones.
Unless, of course, you count HTML (literally a Markup Language, so data formatting for display not code) as programming, in which case I'll leave you to enjoy your fantasy world.
The back-end functionality is still web functionality. Just because a user doesn't see all the server stuff doesn't mean it's not necessary to support a website. There are billions of websites across the world, and they almost all use some combination of back-end, front-end, database, and server code.
They do share a significant commonality, though; they are both interpreted languages, rather than compiled. Sure, you can compile them, but they are meant to be run interpreted so you can quickly and easily tweak and change things and not have to wait for compilation to see the results. In that regard they are very comparable.