Added a call to the phonegap API

PhoneGap Build requires this.