cordova add to index