add phonegap js to index