Use classList instead of className in several places