Commented and made qr.js readable.