Cross-browser functionality added.