cordova loading fixed