Here's the thing I find about people that say JavaScript is doomed.
Most of them never actually bothered to learn JavaScript.
I run a shop with about 10 programmers and because, most of the time, we work in small projects for a multitude of clients we all master in different programming languages/frameworks.
I’ve seen Perl written in JavaScript, Java written in JavaScript, C written in JavaScript. Mind you, I've hacked in JavaScript for years before actually I started learning it in depth.
My C#/Java programmers spend most of their time whining about how JavaScript should have namespaces, how inheritance this and why closures that.
Just because JavaScript has a low entry point doesn't mean you shouldn't invest time learning it. I seriously believe that if we invested a 1/4 of the time in JavaScript as we do with our favorite languages I’m pretty sure we would be seeing a (hell) lot less of these articles.