Update AppVersion.java

Fixed: Cordova 3.x compatibility