DOMManipulating a list of CSS classes