some of this is as a result of a self feeding endless loop i.e in regards to JS.
using JS or more apt us JS dev requires / create complexity, which in turn creates more demand for JS devs.
But on a more first principles Basis - I have asked this question before [0]: Do we need web browsers ?
[0]: https://news.ycombinator.com/item?id=31855976