adding phonegap.js back into the mix