fixed datepicker jquery bug