Adde phonegap.js to index