Use event delegation for common events handlers. Add new data-qtip-id attribute to target and tooltips. Remove data-hasqtip helper in favour of former improvement.