Fixing several bugs in new datepicker within twitter component