tweaked browser detection