BarcodeScanner - use async for cordova.exec