Adding better date handling, jquery datepicker