Remove the use of classList. Not supported in IE9. Fix for #2.