javascript and handlebars