fix date-spliter in DatePicker.js to initalize picker before opening