moved header creation to function
moved header creation to function

discoverygarden/islandora_critical_edition,qadan/islandora_critical_edition,discoverygarden/islandora_critical_edition,qadan/islandora_critical_edition