include templates in scripts.js