It is hated so much because it is used so much. If it was a niche or obscure platform then no-one would have cared.
In my experience, the entire JS ecosystem does not respect robustness, stability, backwards compatibility, correctness, testability, and learning from other ecosystems. It continues to erode itself with emojis in the package manager, childish schzophrenia of frameworks, complete disregard for proven methodologies and extreme indifference to maintainability.
Maybe it is just a personal preference then. I'd take Java and PHP over Javascript any day.