Simon Willison’s Weblog

3 Easy Steps to Avoid JavaScript Memory Leaks. YUI handles two of them for you; avoid DOM expandos as well and you should be set.