IIFE vs Inline event binding fix