Working skeleton code and minified THREE.js