title: net::ERR_ABORTED when trying to use my javascript file inside my html
body: <p>Whenever I call my <code>index.html</code> that is served by my <code>node.js</code> server along with my <em>styles, images and script</em> files I get this <strong>net::ERR_ABORTED</strong> error for my javascript file included in the html.</p>
  
  <p>This is my code in my html file to include my js file:</p>
  
  <pre><code>&lt;script src="../jsfiles/getData.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and I'm using this code on my server side to include them:</p>
  
  <pre><code>app.use(express.static(path.join(__dirname, 'pages')));
  app.use(express.static(path.join(__dirname, 'styles')));
  app.use(express.static(path.join(__dirname, 'images')));
  app.use(express.static(path.join(__dirname, 'jsfiles')));
  </code></pre>
  
  <p>My project structure looks like this:</p>
  
  <pre><code>PongWebServer
  -- pages
  -- images
  -- styles
  -- jsfiles
  </code></pre>
  
  <p>I would appreciate any help, I'm stuck for over an hour now. Thanks in advance.</p>