Moved popover into the $.each call