Changed to phonegap.js reference