fixed #20

Fixed a compat problem with different Chrome versions (newer ones not supporting attr.ownerElement)