If multiple qrcodes are generated on a page and the data is then changed for any of the qrcodes other than the last, the last qrcode generated is changed. Maybe there is data that is being stored in the class rather than in the instance of the QRCode object?
It can be reproduced by creating three text areas that supply the data to encode, creating some functions that instantiate/update the QRCode objects, and then changing the data in the text areas. I've created a jsfiddle page to do this here: http://jsfiddle.net/p6dLK/