This is a very simple demonstration of LZMA-JS, a browser-based implementation of the LZMA compression algorithm.
You can find a more advanced demo here.