template.js deleted