Earlier quoted context omitted.
You are living in the past tbh. There are tools which make augment the language and it is literally taking over the world now!
It focuses on the lowest common denominator of programmers, and in general the community around it doesn't really care to optimize it or teach the people they attract towards good programming standards.
I’ve been programming in JavaScript for nearly 15 years now, though, and there has been a near-constant push from the community toward better programming practices during that time. Given how far the language has come just in the past 5 years, I’d say they’ve been pretty successful in that regard.