removing unused datepicker code from previous implementation of a feature