IIFE for custom.js