Update osDetector.js