fix broken vote arrow search
Merge branch 'fix-vote-arrows'
extract popover logic into a jQuery plugin