matches = ( target, selector ) => {

	let matchesMethod = target.matches || target.matchesSelector || target.msMatchesSelector;

	return !!( matchesMethod && matchesMethod.call( target, selector ) );

}
Element.matches with IE support.

@param {HTMLElement} target The element to match
@param {String} selector The CSS selector to match
the element against

@return {Boolean}