C and C++, even FORTRAN can be written in a very clean, easy to understand and maintainable way. If you can't read someone else's source code because of the way it's formatted, it's their fault and not the fault of the language.
I've seen plenty of spaghetti javascript.
My gripe about javascript is in part that all the browsers support it in significantly different ways, and that a great deal of JS is written by web designers who really don't understand computer programming.