Update template.js
Merge pull request #295 from jakobdo/patch-1

Update template.js