included phonegap.js in index.html