Add comments to search bar/event binding functionality