For the last 25 years, many apps have come with their own JS engine for scripting abilities. Ms Office, Photoshop, et. al. Not just the web browser. And more and more "native" apps have a built in JS engine. And then there's apps that not only have a JS engine, but a whole browser (Electron, Nw.js).
So it would be difficult to purge your system from anything that can run JS :P
So it would be difficult to purge your system from anything that can run JS :P