I added browser detection and a comment for it.