datepicker and autocomplete multiple instances problem fix