Shims matchesSelector for IE8