Added jquery datepicker to the date field
Added boolean check to isEndPoint