Fix setting of _nativeReady when cordova.js is lazy-loaded.

https://issues.apache.org/jira/browse/CB-1978