Update huffman.js