added reference to phonegap.js