Add the JSObject to the garbage collector's root set.