support 3.0 (org.apache.cordova.api removed)