Lazarsoft's jsqrcode as a node module, object oriented