title: How to Call Javascript (JS) Code in Manifest.json File for Chrome Plug-In
body: <p>How do I call Javascript code in a Manifest.json file for a Chrome Plug-In? Calling it the same way as I did for the .html code is not working... </p>
  
  <pre><code>"browser_action":{"default_icon":"icon.png", "default_popup": "cocoon.html" }
  </code></pre>
  
  <p>I am learning how to build a Chrome Plug-In that just runs HTML and JavaScript. </p>
  
  <p>My code runs properly when I run the HTML in Chrome as a site. However, when I turned the website into a Chrome Plug-In I called the .html file in my Plug-In manifest.json file by indicating <code>"default_popup": "cocoon.html"</code> and thought since the Javascript is called in the HTML it would run properly, but it looks like I need to call it separately in the Manifest.json file.</p>