Fix Handlebars template compilation