Earlier quoted context omitted.
Whoa, JavaScript is so much better then PHP.
From what I understand, working in Javascript is by default a terrible situation, and you have to go out of your way to do anything good (hence the plethora of structural frameworks). This is why you never see a book like "C: the good parts" or "Ruby: the good parts." And from my limited knowledge of it, the good parts of Javascript are Self (or, I guess, Coffeescript). It's like people living near Albany NY who are…
Second, there are a lot of frameworks for so many reasons. One big reason is the each browser has a slightly different DOM implementation. Frameworks just smooth over the differences.