Now uses Element.classList and EventTarget APIs.
Removed now redundant DOM class methods, and events helpers.