Fix IIFE for browser-case

The IIFE to attach all templates to the opt.variable in the global namespace does not work, because the function expression is not wrapped in brackets, just a closing bracket. This PR fixes that.