JavaScript Error - $.datepicker.log is not a function

I am using membership pro, i recently updated to the newest version and there is an issue with the coupon code expiration field. if there is a value in the text field then the date picker will not open up and errors out. also the date formate that is getting returned from the date picker does not match the same format as it is save in the DB