Using Javascript has pros and cons, but the idea that it's fundamentally flawed is amusing. It certainly has had its warts, but the community has figured out how to use it efficiently and reliably. You're views on JS would have been much more relevant 10 - 15 years ago.