Added possible mobile Safari detection