WEB: Specify the correct user-agent for Intel/PPC Macs and iPhone/iPad
WEB: Don't use undefined variables when the user-agent can't be matched