added browser support in text, more cross-browser compatible javascript