fixing datepicker utility function setDefaults