changed the pathnames to threes js code