Seams that JS class binding finalizer never gets called, IE: XmlHTTPRequest never calls basic_object_finalize even when object gets out of scope in JS.
Probably you should apply this rules of handling object for correct GC:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/GC_Rooting_Guide