sync Handlebars helpers between server and client