- reverted removeClass changes as they did not prove to be more performant than Element.classList.remove