resets innerHTML of summary block before adding to it