I don't see it mentioned very often, but google's closure-library has some really phenomenal patterns for building maintainable javascript. Its worth checking out Michael Bolin's book, Closure: The Definitive Guide, which goes in depth of the Component and Control frameworks.
I've been using the library for 2 or 3 years now, and I am always surprised to see it has such a small community.
I've been using the library for 2 or 3 years now, and I am always surprised to see it has such a small community.