changed the pathnames to threejs code