testing phonegap barcode scanner