Takes an HTML document, minifies and inlines all CSS and JS.