Adding class to an element that already had a class would fail