Bug 941837 - Reduce JS heap fragmentation to help a CLOSED TREE; r=billm

--HG--
extra : rebase_source : 63941e8830cf2750a070cde60100d8180312533d