Fixed Typo in template.js