Refactory part of popover js