makes small changes to date_picker.js