uncommented phonegap.js