Add support for tern and handlebars