added browser support detection