Delete detector.js