fix add-class with a space-separated argument on implementations without .-classList