HTML5 barcode scanner