IIFE best practices implemented