Update DatePicker.js

Added some console logs