Created by: frntz
Avoid loosing events attached on Jquery object if added via function in popover content