Fixed jsni exception when running certain selectors in IE8