changed datepicker from id to class