Javascript: handlebars