Update and rename template.js to js/template.js

utf-8