IIFE isn't needed in magic.js now that it's a module