Cleanup code and minify css