adds cordova version 2