converting to a jquery UI based datepicker.