Editing phonegap.js reference