simplify browser detection
3.0.1