title: How to read a properties file in javascript from project directory?
body: <p>I'm building a Chrome Packaged App. I want to put the script configuration if a config file in a resource directory and on startup want to read that by Javascript.</p>
  
  <p>For example</p>
  
  <ul>
  <li>Project 
  <ul>
  <li>WebContent
  <ul>
  <li>index.html</li>
  <li>manifest.json</li>
  <li>main.js</li>
  <li>resource
  <ul>
  <li>config.properties</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Here I want main.js to load config.properties file in the beginning and get key-value pairs.</p>
  
  <p>Have anyone done something like this?</p>