Revert "wrapped everything in an IIFE"

This reverts commit 0bc2ccd90cbc0d739495da59489007b71dce2670.
style(template): Specific page var names.