make it possible to add custom html before and after body is rendered