Added template.js back