updating template.js path in head