Moved generate css into browserview.