Update template.js

Strip html tags from url parameters for issue #35