phonegap.js has been added to index.html