extract handlebars template