Use jQuery.datepicker date formatting instead of own code
Use jQuery UI for parsing date strings
Use jQuery UI for formatting date strings
Drop no longer needed date.js