fix firefox datepicker problem