use handlebars to generate dot labels