Create DETECTOR.JS