refactor datePicker
Fixed new.html