Cross-browser compatibility solved for Chrome, Firefox and Safari.