throw Error if handlebars is not present