Javascript port of the LZJB compression algorithm.