added template.js