bug fixes
remove getScript() for detect.js