edit scanner.html for QR part