Added validation of minDate & maxDate
rollback change of calendar.html