code: public static void clearHover(Element element) {
  
          Element parent = element.getParentElement();
          Element sibling = element.getNextSiblingElement();
          element.removeFromParent();
          parent.insertBefore(element, sibling);
      }
docs: Clears the elements hover state by removing it from the DOM and re-attaching it.<p>
  
  @param element the element