title: JS is failing in IE8 due to strange error
body: <p>I have a large javaScript file, managing all kinds of UI elements. It works perfectly in FF, chrome and Safari, but in IE it falls over.</p>
  
  <p>I loaded it into IE8 to use the JS debugger, and it points to this line:</p>
  
  <pre><code>var myFooter = false;
  </code></pre>
  
  <p>and claims: <code>Object doesn't support this property or method</code>.</p>
  
  <hr>
  
  <p><strong>Edit</strong></p>
  
  <p>It seems to have a problem with this function, specifically the <code>var</code> declaration</p>
  
  <pre><code>function live_test(){
      var active_project;
      active_project = $("div.project_holder.active");
      $("#circles img.link.active").removeClass('active');
      $("#circles img.link").each(function(){
  
          if ($(this).data('project')[0] == active_project[0]){
              $(this).addClass("active");
          }
      });
  }
  </code></pre>