Update template.js

update to fix swedish translation