According to namespacing in new release of Cordova (3.0.x) there is no more "api" namespace