add script of calendar in header template