Update barcodescanner.js

Venue abstraction