the "mentality" you are referring to is not limited to JS at all, and has less to do with the particular language. Market dynamics, company incentives and a larger pool of developers among other reasons contribute to that more.
or, a more better term would be 'Atleast it works' mentality.