A classList based add/removeClasses, setAttribute fallback