title: Multiple .js calls from a local host
body: <p>I working on an HTML file in which I need to call several .js files from my computer. Below is my directory structure.  </p>
  
  <pre><code>Dropbox/
  ├── js/
  |   └── .js files
  └── abm.html 
  </code></pre>
  
  <p>I have the following lines in my html file to verify the path and call the .js files:</p>
  
  <pre><code>for(var i = 0; i &lt; paths.length;i++){
      var script = document.createElement('script');
      script.type = 'text/javascript';
  
    //few lines here 
  
  }else if(location.valueOf().pathname === "/C:/Users/.../Dropbox/abm.html"){
          script.src = "../Dropbox/js" + paths[i];
  
    //few lines here 
  }
  </code></pre>
  
  <p>to call each of the .js files one by one with path[i] containing the .js file names. 
  With my browser, I open the HTML file and can see that it can call .js files. However, when pushing a command run bottom nothing happens. Which should actually run the defined model. Can anyone help with this? </p>