migrate function #226
remove old cordova version