Replace lodash with handlebars templates