removing detect.js