Partial minjs implementation
Add option for minified resource files
Simplify html_document
Merge branch 'minjs'