title: jquery 3.1.1 Error: Object doesn't support property or method 'andSelf'
body: <p>I just NuGet update my jquery from 1.8.3 to 3.1.1.
  Then I keep getting this error on every page. After looking around, it seem like jquery is getting execute multiple times, but that doesn't seem to be the case when I check in developer tool.</p>
  
  <p>So, this is where it happens.</p>
  
  <pre><code>jQuery.Deferred.exceptionHook = function( error, stack ) {
  
      // Support: IE 8 - 9 only
      // Console exists when dev tools are open, which can happen at any time
      if ( window.console &amp;&amp; window.console.warn &amp;&amp; error &amp;&amp; rerrorNames.test( error.name ) ) {
          window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
      }
  };
  
  jQuery.readyException = function( error ) {
      window.setTimeout( function() {
          throw error;
      } );
  };
  </code></pre>
  
  <p>On line "window.console.warn...." it has warning - 
  jQuery.Deferred exception: a(...).parents(...).andSelf is not a function</p>
  
  <p>And the error is thrown on line "thrown error" - 
  Uncaught TypeError: a(...).parents(...).andSelf is not a function</p>
  
  <p>Any idea why this happens? </p>