Optimize order of stylesheets and scripts.