function nodeMatchedBy(n, sel) {
            if (!n.matches) {
                n.matches = n.msMatchesSelector || n.webkitMatchesSelector;
            }
            return n.matches(sel);
        }
Check if node is matched by a given selector
@param {Node} n The Node to check
@param {String} sel Selector(s)
@returns {Boolean} true if matched, false if not matched