var qrcode = new QRCode(document.getElementById("qrcodearea"), {

error code: 1000