RemoveClass function using className if browser cannot use classList