Quick Response Code (QR-Code) generator in pure javascript