Resolve Mozilla firefox compatibility.