Removed unnecessary event handlers from search box