added Detector and threejs library