code: function( selector ) {      // IE + Edge - https://github.com/nefe/You-Dont-Need-jQuery
                          var node = this;
                          while( node )
                          {
                              var matchesSelector = node.matches || node.webkitMatchesSelector || node.mozMatchesSelector || node.msMatchesSelector;
                              if( matchesSelector && matchesSelector.call(node, selector) )
                                  return node;
                              node = node.parentElement;
                          }
                          return null;
                      }
docs: latest