minify embedded scripts and styles in index page
include the content of the loading style on build