Sure, I'm familiar with the conditions under which Javascript was created, but those are all political issues, not technical ones.
If you had to go back and recreate another C++, you would be forgiven for creating a bad language, because making a good, usable language without a garbage collector is really hard, and even moreso when it has to be compatible with C. If you had to recreate Javascript... I would think it would be expected that you don't make a language with the same kinds of flaws JS has today. There were plenty of examples of languages Javascript could have been based off of when it was written (like Java).
Case in point: it took decades for Rust to come around which was the first real challenge to C++. In the same period of time, we saw several GC languages appear (Java, C#, Go, PHP, Swift, Ruby, Python, all younger than C++), all competing against each other. Javascript would have been abandoned if it didn't have a monopoly on web programming.



If you go back a few decades, you would see how companies would produce technological innovations with the mindset of, "If we design the best, most useful device possible, customers will come to us and buy our product".
Today, that has flipped into a mindset of, "We will create this technology, force users into adoption, and exploit them as hard as possible once we have them under our control."
The technology has become a means to control users, not to enable them.
At least it's good to see that people are catching on though.