title: Origin http://localhost is not allowed by Access-Control-Allow-Origin with xui.js
body: <p>hi i want to get a json file with xhr in xui and my code is this :</p>
  
  <pre><code>function getRequest()
  {   
     x$().xhr('http://localhost:8080/DummyServer/login/request/',  
     {
        callback: function() 
        {
           saveLocalStorage(this.responseText);    
        },
     });
  }   
  </code></pre>
  
  <p>I check with safari console, and I got an error like this  :</p>
  
  <pre><code>XMLHttpRequest cannot load http://localhost:8080/DummyServer/login/request/. Origin http://localhost is not allowed by Access-Control-Allow-Origin.
  </code></pre>
  
  <p>but when i use coda ide there is no error, i wonder why. Anyone can help me with this xui.js?</p>