Fix classList breakage

This fixes the breakage introduced in 76312db759287f37e1a8d5184f669430fc4c5483
Ooops

This time I ran all the tests in IE11, Chrome 37 and Firefox 32.