Port of LZMA to JavaScript