Added jQuery migrate to fix the datepicker not working.