Fix firefox build
Fix style for Safari