element.classList. Refer to the MDN page on
element.classList for more information.
This works in every browser except IE 7 or earlier.
An older version is hosted at public CDNs, allowing you to use this already small file at nearly zero size overhead. Use one of these URLs: