Update popover.js

Various updates...