title: Simple javascript reload not working
body: <p><a href="http://jsbin.com/AvoCuka/1/edit" rel="nofollow">Here</a> is the Bin. I am trying to make an example of reloading the page by using <code>location.reload()</code> in the function <code>refresh()</code> and using <code>onclick='refresh()'</code> in a button. For some reason the page is not reloading.</p>
  
  <p>The JS function:</p>
  
  <pre><code>function refresh() {
      location.reload();
  }
  </code></pre>
  
  <p>The HTML button:</p>
  
  <pre><code>&lt;button onclick='refresh()'&gt;Try Refreshing!&lt;/button&gt;
  </code></pre>