Fixed definitions for jQuery UI Datepicker parseDate, formatDate.