Support Handlebars v2.0.0 and above

Retains support for Handlebars >=1.3