Firefox and Safari compatibility.