Fix function searchChosenUIContainer for jQuery