Call JS_MaybeGC in idle.