update to work with handlebars 2