capital Cordova changed (compatiblity)

In Cordova 2.2.0 this is needed to work.
Copied from TwitterPlugin.