The code that writes the css to the response is duplicated. The only difference is the actual css to write.