Revert "Updated cordova ondevice ready"

This reverts commit 75de1605bd6a4daef1195cfe97f294273968f718.