making special separate pages, moving logic of what popups to populate and charts to draw into the html pages themselves.