added div to popup.html
Removed all unnecessary lines. Successfully gets stored data
Successfully shows all periods as popup