handlebars templating for widgets