make jquery datepicker work