It's more the social ecosystem. Sure, core javascript is fine, but it allows a certain ease of use that leads to the bloated mess for which it is known. That ease becomes exploited by the general community, and it becomes the defacto way to use the language.