We're big fans of the Dojo Toolkit, a Javascript framework that allows you to build rich Internet applications right in the browser. We're impressed with the power and flexibility, and have built several big applications on it in addition to solving lots of small tasks.
We've also used other Javascript libraries, including JQuery, Prototype, Scriptaculous, and several others.