title: import js not found in Glitch
body: <p>I use Glitch to write a WebVR prject. If I set the script direct in views/index.html, it works well. But if I save the script in js/openclosedrawer.js and import it in index.html. This .js file would not found.
  The project ist here:
  <a href="https://glitch.com/edit/#!/skill-lab" rel="nofollow noreferrer">https://glitch.com/edit/#!/skill-lab</a>
  Does somebody know the reason?
  Thanks in advance.</p>
  
  <pre><code>&lt;script src="../js/openclosedrawer.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    /**
    AFRAME.registerComponent('openclosedrawer',{
  
      schema: {
        open : {default: '1.8 0 0.1'},
        close : {default: '0 0 0.1'},
        dur : {default: 300},
        closed : {default: "true"}
      },
  
      init: function (){
        var data= this.data;
        var el=this.el;
        var closed=true;
  
        var move=document.createElement("a-animation");
        move.setAttribute("begin","click");
        move.setAttribute("attribute", "position");
        move.setAttribute("from", data.close)
        move.setAttribute("to", data.open);
        move.setAttribute("dur", data.dur);
        move.setAttribute("direction", "alternate");
  
        el.appendChild(move);
  
      }
    });**/
  </code></pre>