Fix duplicated class attributes on IE8, add classList shim. Perf branch tests passes on all IE8+ browsers