Adding support for compression.
Minified production-ready version