Updated browser detection script system