Here’s a link someone I know found on how to write good Javascript code. It talks about how to make your javascript run faster and with a small footprint. It also talks about how to avoid memory leaks.
http://code.google.com/speed/articles/optimizing-javascript.html
Leave a Reply