JavaScript was originally as "open" as Dart. It was developed by Netscape and was only supported by their browser. It quickly became popular so Microsoft had to write their own implementation to stay competitive. Only after that JavaScript was standardized.