Js computation of CRC-16