using the qrcode-reader module instead of using js files