Minor browser compatibility fixes.