Bug 945360 - Fix some recent new rooting hazards in SpiderMonkey; r=sfink