Learning handlebars and replacing javascript item build with templates