Minifying and optimizing assets