Fix search bar async scripts.