wrap gc.js in IIFE