tooltip + popover on search result JS