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

IE is not my favorite web browser.

this is my take on #5694