NodeJS port of Lang Seonghoon's qr.js