Modified bootstrap-datepicker.js.