Add element.matches polyfill