Ah I see Mozilla is one step ahead of me... there is a mysterious classList property... https://developer.mozilla.org/en-US/docs/DOM/element.classList haha