fixed the phonegap.js reference