Corrected browser detection.