title: Unable to get value of the property 'call': object is null or undefined IE8
body: <p>In IE8, my menu script doesn't seem to go down well. But after much searching i can't figure out why it's throwing errors like:</p>
  
  <pre><code>SCRIPT5007: Unable to get value of the property 'call': object is null or undefined 
  site.js, line 5 character 5
  </code></pre>
  
  <p>My Script is:</p>
  
  <pre><code>var anchor = document.querySelectorAll('button');
  
      [].forEach.call(anchor, function(anchor){
        var open = false;
        anchor.onclick = function(event){
          event.preventDefault();
          if(!open){
            this.classList.add('close');
            open = true;
          }
          else{
            this.classList.remove('close');
            open = false;
          }
        };
      });
  </code></pre>
  
  <p>This script handles my mobile navigation, but as i am still learning, i can't figure this one out. Can anyone help point me in the right direction? </p>