Detect browser, os and platform based upon user agent