now using window.chrome if browserdetect wasnt loaded