Changed reference from cordova to phonegap in index.html