add datepicker fallback for Safari