datepicker updated in template.html, starting to integrate fullcalendar