Bug 1102154 part 1 - Cache calculated gaia-header numbers in local storage.
Bug 1102154 part 2 - Use template element instead of setting shadow root's innerHTML.