changed main index to richards edits, threejs code was kept since errors showing in console