Browser Compatibility issue with Safari