Use d3 to check how an element is classed

By using d3, we can ensure that this is compatible with IE 11.
Update changelog
Merge pull request #217 from matthewdunsdon/hotfix/ie-11-highlighting

Hotfix: IE 11 highlighting not showing