Update PhoneDialer.m to support phonegap >= 2.1