It only helps that you can write just about anything in JS these days. NodeJS allows for a range of things from CL applications to web servers. Mobile apps can be written in JS using technologies such as Nativescript or ReactJS. And of course you have your everyday web browsers that are getting more and more powerful.
The most common technology before the WWW was gopher, which supported only static content, too. At this time, non-graphical user environments were more common, they were remotely used by telnet, or more early, by serial terminals.