PhoneGap Build - cordova-2.4.0.js
If you're using Phonegap Build, you don't need to include cordova-2.4.0.js or any other specific version of cordova/phonegap. Just use phonegap.js, but you don't actually need to include phonegap.js in the file you upload to Phonegap Build.Quote from the Phonegap Build site:
"Once you've included the necessary assets, remove the
phonegap.js
(cordova.js) as Build will automatically inject it during compile time."