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.
What's the reasoning for this?