Improved support for older browsers.