fix for search bar with jQuery 1.9.1