only use jQuery UI's datepicker if the browser needs it