Support for minified css and html

These changes allow to use library with minified files. But tests still need to be updated to check this functional more closely.
Nice! A little dense, but once I followed what you did here, very good.