Fixed IE9 element classList compatibility issue

`classList` is not defined in IE9