fix classList for old browser