CONSOLE ERROR: line 257: Uncaught ReferenceError: template is not defined
