JavaScript isn't inheritedly bad. It's won that reputation because of bloat.
No one codes standard vanilla any more so it's always a framework and the existing are failures.
It's shocking how 2mb of JavaScript could be done in 2kb and that JavaScript was never designed to conceive.
It's interesting that you say that JS isn't inherently bad, but everyone uses TS. Is there something bad about vanilla?
Either way, my problem isn't generally JS as is, but that it is the only language, the only platform that drives everything. Maybe web assembly can change that, it's not really a fast progress. But that is kind of the problem, replacing JS or introducing alternatives is extremely hard.