Replace jQuery's addClass()/removeClass() with our own