Moved the codebase to new Cordova 3.1.0