A mess, but updates popup.html with data
Minor changes