Performance improvements: Optimize the order of styles and scripts.