code: function CRC8(polynomial) { // constructor takes an optional polynomial type from CRC8.POLY
  if (polynomial == null) polynomial = CRC8.POLY.CRC8_CCITT
  //if (polynomial == null) polynomial = CRC8.POLY.CRC8_DALLAS_MAXIM
    
    this.table = CRC8.generateTable(polynomial);
  }
docs: "Class" for calculating CRC8 checksums...