reference to phonegap.js added