moved javascript to separate text file

moved javascript to separate text file
updated cordova-2.4.0.js to phonegap.js