title: Chrome extension browser action event not firing
body: <p>I want to make chrome extension which opens all my favourite websites when I click on it.</p>
  
  <p>Currently my manifest.json is:</p>
  
  <pre><code>{
    "manifest_version": 2,
    "name": "Soical_open",
    "description": "This extension opens all my favorite social sites once",
    "version": "1.0",
    "background": {
      "scripts": ["background.js"]
    }
  }
  </code></pre>
  
  <p>and my background.js is: </p>
  
  <pre><code>var queue = ['www.fb.com', 'www.gmail.com' , 'www.quora.com'];
  chrome.browserAction.onClicked.addListener(function(tab) {
    for (var i=0; i&lt;queue[1].length; ++i)
      chrome.tabs.create({"url": queue[i], "active": false, "index":tab.index+i});
  });
  </code></pre>
  
  <p>When I load this extension and click on it, nothing happens. What is that I am doing wrong? What am I missing?</p>