Use jstemplate app for JavaScript templates

- Add jstemplate to the installed apps
- Move resource-item-tpl into its own template file