Changed to phonegap.js