Remove call JS_MaybeGC in idle and call System.gc in js code.