more precise brower detection