Is this really that valuable? Java and C++ had both provided this to some extent before. Rather, I think the majority of the power in Javascript tools comes from distribution. The distribution to both potential users and potential developers is unmatched, and those trump any technical deficiency in the language.
I think if programming language designers should have learned anything in the past 50 years, it should be, "It's the distribution!"