Adding phonegap.js to files