refactored old code to use the new BrowserDetector
refactored old code to use the new BrowserDetector

LivelyKernel/LivelyKernel,NikolaySuslov/LivelyKernel,NikolaySuslov/LivelyKernel,NikolaySuslov/LivelyKernel,LivelyKernel/LivelyKernel,LivelyKernel/LivelyKernel,pascience/LivelyKernel,pascience/LivelyKernel,pascience/LivelyKernel