Last updated June 29, 2012.
Clean Up The Current Code
There is room to improve our current JS:
Better Inline Documentation
Drupal is one of the best documented open source projects. Time to bring our JS up to the level of everything else.
Drupal JS Handbook Awesomeness
Let's teach people how to do our common stuff.
Let's minify our JS. The size savings can translate into real end user performance.
Solid Architectural Patterns For All The JS
There is a LOT of JS in Drupal 7 and we imagine even more in Drupal 8. Architecturally we can benefit from using modular patterns, like what Dojo or jQuery UI are using. In addition there are some libraries, like underscore, that may be able to provide utilities that help us write better JS.
The actual issues involved in all of this can be found in the issue queue at http://drupal.org/project/issues/3060/term/232