title: webshim polyfill localStorage undefined in IE6
body: <p>When I run the following code in an IETester IE6 window:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
      &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
        &lt;head&gt;
          &lt;title&gt;DealingTree&lt;/title&gt;
          &lt;meta http-equiv="Content-type" content="text/html;charset=utf-8"/&gt;
          &lt;script type="text/javascript" src="/js/modernizr.js"&gt; &lt;/script&gt;
          &lt;script type="text/javascript" src="/js/jquery.js"&gt; &lt;/script&gt;
          &lt;script type="text/javascript" src="/js/sssl.js"&gt; &lt;/script&gt;
          &lt;script type="text/javascript" src="/js/webshims/js-webshim/minified/polyfiller.js"&gt; &lt;/script&gt;
        &lt;/head&gt;
        &lt;body&gt;
          &lt;script type="text/javascript"&gt;
            //&lt;![CDATA[
            $.webshims.polyfill('json-storage');
            localStorage.setItem('myKey','myValue');
            alert(localStorage.getItem('myKey'));
            //]&gt;
          &lt;/script&gt;
        &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>I get the following error in a popup dialog:</p>
  
  <pre><code>Line:  15
  Char:  7
  Error: 'localStorage' is undefined
  Code:  0
  URL:   http://localhost/problem2.html
  </code></pre>
  
  <p>The code works fine in IE9 running in IE7 mode.</p>
  
  <p>When I change to use Douglas Crockford's <a href="https://github.com/douglascrockford/JSON-js" rel="nofollow">JSON2.js</a> and Remy Sharp's <a href="https://gist.github.com/350433" rel="nofollow">storage polyfill</a> --upon which this is supposedly based-- I do not have the problem.</p>
  
  <p>Please help?</p>