phonegap 2.3 says device.platform is iOS, not iPad or iPhone