Restored phonegap developer app code, added alert for debugging ondeviceready