add google analytics to the periodics, also add JavaScript to add group labels to the table cells