title: window.location.reload() not working for Firefox
body: <p>I am trying to refresh the page on click function.</p>
  
  <pre><code>reloadPage(){
   this._$window.location.reload();
   this._$window.onbeforeunload = null;
  }
  </code></pre>
  
  <p>Above code is working fine in Chrome and IE. But in Firefox getting prompt message saying <strong>this page is asking you to confirm that you want to leave - data you have entered may not be saved</strong>.</p>
  
  <p>How to prevent this in Firefox?</p>
  
  <p>Note: Without Jquery.</p>