This. People complaining about what JavaScript lets you do just need to learn how to exploit its strengths while being aware of its dangers.
It's like someone complaining that git let them make a mess after they merged master into their feature branch and then merge it back into master.