QR code reader code from
ZXing-JS