Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug