set up handlebars logic for event tooltips