Adjust examples for cross-browser compatibility.