Cordova application initialisation