Fix a bug where, when extending from a class held with intrusive pointers, the JavaScript object would be released when the last JS handle was destroyed, not when the object was.