Wrapped script in IIFE