Fix cordova requires in releaseReadyWait method