fix(jqLite): fix add/remove class in IE9

IE is not my favorite web browser.

this is my take on #5694 
> what if we just had two versions of the function?

Considered it; this would also make it easy to drop support for IE9 in the future. Let me put together an alternate PR and see what that looks like.