Forgot the Detector.js script in previous commit