Removed add and remove class. Use the classList property to add and remove. This is native and has existed for quite a while.