feat(app): use htmlmin for smaller HTML files

Use htmlmin options to minify the HTML correctly. Only 'safe' options
are used

Fixes #469