Javascript is an awesome language.
With a good IDE (Webstorm) and a good debugger (Chrome), you can do great stuff.
It supports tons of paradigms. You don't have to go prototypal to use OOP. Although that is the most memory efficient method in JS.
I use it a lot at work to quickly protoype stuff for mobile. It is much more convenient than writing for native Android, or iOS.
Of course, it does have it's performance problems on mobiles, but usually that's just bad DOM implementations. It usually has nothing to do with JavaScript.
Also, firefox is including http://asmjs.org/ in it's nightlies, s it seems that performance is constantly improving.
Problem with games is that DOM is the only way to do graphics, and that means that all of the heavy graphics on Javascript suck.
However, Java7 (and some JRE6s) come with a built in javascript interpreter, So it's also a great scripting language for anyone using Java.