JS is ever evolving. You say that it is great at working with CSS, because it was designed for this. Yet when JS was released, CSS was not a thing.
I agree that the “JS for everything” mentality is part of the problem. However at the core the issue is the fragmentation of ecosystems and the vast amount of “standards”