Fixing the CSS optimize stuff. Still need to handle the delayed part properly.