Correctly detect older and newer Safari