Remove IIFE, fix typo