Refactors coffee for generating header and footer svgs