Added support for other browsers.