Safeguard IIFE against overwrite of window object