title: External script error in socket.io server
body: <p>I'm having a problem, whenever I try to import a local script:</p>
  
  <pre><code>&lt;script src="socket.io/socket.io.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/jquery-1.11.1.js"&gt;&lt;/script&gt;
  &lt;script src="ace-builds/src-noconflict/ace.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
  &lt;script&gt;
      var editor = ace.edit("editor");
      var socket = io();
      editor.getSession().on('change', function e() {
        socket.emit('editor-change', editor.getValue());
      });
  
      socket.on('editor-change', function(val) {
        edit.setValue(val);
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Everything gets imported fine except the ace-builds which is in the correct directory. Here's an image of the error:</p>
  
  <p><img src="https://i.stack.imgur.com/Y5D9N.png" alt="N/A"></p>
  
  <p>I don't understand why I'm getting this error (404) because all these files (including the server scripts) are hosted in the same directory as the file giving off the 404 error.</p>