aded phonegap js file to index file