Removed VanillaJS, fixed addClass bug

Works on IE.