title: Faking flash plugin info in phantomjs 1.8
body: <p>I'm a newbie to PhantomJs. I'm using 1.8.1 version. I've looked at <a href="https://groups.google.com/forum/#!msg/phantomjs/8pCA0x2evH8/l8CTff6y53MJ" rel="nofollow">here</a> to solve this as i've similar requirement.</p>
  
  <p>I'm doing something like this:</p>
  
  <pre><code>page.onInitialized = function () {
      page.evaluate(function () {
          (function () {
              window.navigator.plugins = {
                  'length': 1, 
                  'Shockwave Flash': {
                      'description':'fakeflash'
                  }
              };
          })();
      });
  };
  </code></pre>
  
  <p>When i do console.log (window.navigator.plugins['Shockwave Flash'].description)</p>
  
  <p>I get undefined as the result.</p>
  
  <p>Could anyone tell me what am doing wrong?</p>