BarcodeScanner and fixed phonegap.js.