Update datepicker.js

Trying to fix JSHint Errors