Rename template to template.js