title: OrbitControls.js - Cannot read property 'prototype' of undefined
body: <p>I am starting a project in Three.js and I have correctly imported the library <code>OrbitControls.js</code>, but when I open the console to test it, I see the following error:</p>
  
  <p><code>Cannot read property 'prototype' of undefined</code></p>
  
  <p>And it is related to the following line code inside OrbitConstrols.js:</p>
  
  <p><code>THREE.OrbitControls.prototype = Object.create( THREE.EventDispatcher.prototype );</code></p>
  
  <p>I found similar examples that research a solution for this problem, like <a href="https://stackoverflow.com/questions/19444592/using-threejs-orbitcontols-in-typescript">this one</a>, but it is made for Typescript. </p>
  
  <p>Do you know a possible way to solve this issue? Or it is simply a bug of the library and even if I get an error, the object will be properly rendered?</p>