DOM node class manipulation