handlebars in extension and on server