get datepicker working