phonegap ondeviceready