check browser and browser's version from userAgent