initial code for recurring events, handlebars.js