Cross browser fixes.