Added TemplateViewModel.js