Fix "Object has no method 'popover'"