Client side code for esportscalendar