update cordova deviceready