fix(jqLite): properly toggle multiple classes

Impl could be approached differently, I guess, but yeh, the issue is here as demonstrated by tests.

Fixes #4467