update to use handlebars.js instead