Changed $.datepicker.log to console.log