title: Restore default value of arrows key
body: <p>I'm using a script (impress.js) that bins some particular action to keyup and keydown events for left, right, up and down arrows.</p>
  
  <p>In some particular moments (for example while typing in a textarea) I want back the default behaviour for the arrows.</p>
  
  <p>I tried without success with</p>
  
  <pre><code>$("a#show-ta").click( function() {      
    document.addEventListener("keydown", function ( event ) {
      if (event.keyCode &gt;= 37 &amp;&amp; event.keyCode &lt;= 40) {
        return;
      }
    });
    document.addEventListener("keyup", function ( event ) {
      if (event.keyCode &gt;= 37 &amp;&amp; event.keyCode &lt;= 40) {
        return;
      }
    }); 
  }); 
  </code></pre>
  
  <p>where <code>a#show-ta</code> is the button that shows my textarea.</p>