add class for hover elements

Element.isNode() would throw exception when examing hover elemements