title: JavaScript runtime error: Unable to get property 'top' of undefined or null reference
body: <p>When using IE10 I am getting the error <code>JavaScript runtime error: Unable to get property 'top' of undefined or null reference</code> when trying to click a hyperlink to a webpage within the same project, the JavaScript should scroll to the corresponding position on the page.</p>
  
  <p>If I use any other browser, other than IE it works from page to page. If however I use the same references within the same page it will scroll up and down in all browsers, but not in IE when leaving the page.</p>
  
  <p><strong>Link</strong></p>
  
  <pre><code>&lt;li&gt;&lt;a href="index.html#home_section"&gt;Home&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I am using <code>jquery.nav.js</code> version 3.0.0 and the page is breaking at <code>var offset = $(target).offset().top;</code>.</p>
  
  <p>Any help would be much appreciated :-)</p>