add possibility to configure date format in DatePicker.js