There are some things JS got right and things JS got wrong -- but I basically put it at the same level as languages like python/ruby/perl.
Another great thing about JS is that if you hate the semantics of JS, you can transpile -- pick up Typescript, Flow, Elm, Purescript. Compile-time-checking-as-an-addon, linters, transpilers, have all seen a tremendous uptick in interest partly thanks to JS's shortcomings.
Also, what in your opinion is a "good" language? because the list of innovative languages with amazing time-saving features/ground breaking research in them is very different from the list of workhorse languages people use from day to day.
As for Unity, I am not so sure about it.
https://blogs.unity3d.com/2017/08/11/unityscripts-long-ride-...
Everything has to have unit tests and documentation and be split out into reasonable modules. Large scale projects in C are honestly easier to work on than JavaScript.
It does scale but almost no one puts in the effort to do it.