Three.js - TypeError: THREE.Scene is not a constructor
<p>I am just trying out Three.js so I can implement it to a project of mine, however when I run the first example in the documentation:</p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;My first Three.js app&lt;/title&gt;
        &lt;style&gt;
            body { margin: 0; }
            canvas { width: 100%; height: 100% }
        &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;script src="three.js"&gt;&lt;/script&gt;        
        &lt;script&gt;
            var scene = new THREE.Scene();
            var camera = new THREE.PerspectiveCamera( 75, window.innerWidth/window.innerHeight, 0.1, 1000 );

            var renderer = new THREE.WebGLRenderer();
            renderer.setSize( window.innerWidth, window.innerHeight );
            document.body.appendChild( renderer.domElement );

            var geometry = new THREE.BoxGeometry( 1, 1, 1 );
            var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
            var cube = new THREE.Mesh( geometry, material );
            scene.add( cube );

            camera.position.z = 5;

            var render = function () {
                requestAnimationFrame( render );

                cube.rotation.x += 0.1;
                cube.rotation.y += 0.1;

                renderer.render(scene, camera);
            };

            render();
        &lt;/script&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I get this error:</p>

<blockquote>
  <p>TypeError: THREE.Scene is not a constructor</p>
</blockquote>

<p>I tried adding scene.js, but it threw another error inside scene.js so it didn't work. I am using version r80 and I heard there was some non-working samples in the documentation, however I am not sure what's wrong here.</p>

<p>Any help would be appreciated.</p>