Adding in phonegap.js