Attempt to make Cordova 3.0 compatible.