I made online tools that can make a web page a self extracting and automatic executing compressed HTML archive. Here is my deflate/inflate tool:
http://www.whak.ca/deflate.htm and see a sample made on
https://github.com/JavaScript-Packer/Deflater where I take a 2MB web application, drag/drop to deflate tool and download a new HTM file that is almost 90% compressed.
More compression algorithms on
http://www.whak.ca/packer/ for you to tinker with.
If you have any decent compression techniques implemented in JavaScript that you wish see made in to a tool, let me know :)