Accept globals as parameters to IIFE.