do browser detection early