make it compatible with express-handlebars