Fixed the browser compatibility.