Revising CSS optimization code