updated to latest phonegap