linked to minified script; passed document and document.body as arguments to IIFE