Work on FireFox compatibility.