title: three.js / OrbitControls is not defined
body: <p>When i try to import OrbitControls.js the following:</p>
   
  <p>I get the <code>Cannot use import statement outside a module</code> error</p>
  <p>So, I use :</p>
  <p><code>&lt;script type=&quot;module&quot; src=&quot;OrbitControls.js&quot;&gt;&lt;/script</code>&gt;</p>
  <p>but this time I get:</p>
  <pre><code>ReferenceError: OrbitControls is not defined
  </code></pre>
  <p>HTML body:</p>
  <pre><code>&lt;body&gt;
      &lt;div id=&quot;page-wrapper&quot;&gt;
          &lt;h1&gt;Open Spaceport Container (.drc):&lt;/h1&gt;
          &lt;div&gt;
              &lt;input type=&quot;file&quot; id=&quot;fileInput&quot;&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;pre id=&quot;decoderType&quot;&gt;&lt;pre&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;pre id=&quot;fileDisplayArea&quot;&gt;&lt;pre&gt;
      &lt;/div&gt;
      &lt;script src=&quot;https://cdn.rawgit.com/mrdoob/three.js/dev/build/three.min.js&quot;&gt;&lt;/script&gt;
      &lt;script src=&quot;DRACOLoader.js&quot;&gt;&lt;/script&gt;
     &lt;script src=&quot;geometry_helper.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;module&quot; src=&quot;OrbitControls.js&quot;&gt;&lt;/script&gt;
         &lt;script&gt;
          &quot;use strict&quot;
          
  
  
        // Configure decoder and create loader.
            var textureLoader = new THREE.TextureLoader();
            const loadManager = new THREE.LoadingManager();
  ...
  </code></pre>