376 chart div cleanup

Making the chart view work a little better. Charts are added up top, close buttons work, and divs are cleaned up. Also did a minor refactoring of event registration that took away the issue with multiple charts being added at once.