JavaScript component to encode strings into QR codes.