I think he means to clean up unused functions, objects or whatever. But @chrisburton, I must say that for me at least, my JS files are MUCH smaller than my CSS files. I don’t often have functions that are doing jack shit and I’m sure you don’t either. These files should be easier to review and edit yourself.
Now… if someone knows of a tool to detect infinite loops, I’m interested! Oh wait… isn’t that the halting problem? Nevermind.