fix(jqLite): properly toggle multiple classes

Fixes #4467
Closes #6448