huffman-compression-in-javascript