Remove classList for compatibility with older browsers.