Create osDetector.js