Fixing `element.is()`
Merge pull request #438 from avoidwork/edge

Minor fix