JavaScript has some things in it that shouldn't be used but that's true with almost any language out there. There is no reason you can't write clean, easy to read and understand, code in JavaScript. I'm not sure why you're saying he may be misinformed; you can write really great code in JavaScript.