integrated detector.js