Fix browser compatibility.