Just imagine what the web would be today if only 3-4 weeks had been spent designing javascript...
Honestly, much as it's a pastime to grumble about the flaws of whatever language we find ourselves using, I suspect if you could rerun history a hundred times, not more than ten of the reruns would give us a better outcome than JavaScript.