Solved the jQuery datepicker issue