Easily manage CSS classes on DOM nodes