simplify classList polyfill