delete cordova js reference