remove window.cordova + more