376 chart div cleanup

Making the chart view work a little better. 
* Charts are added up top
* close buttons work
* divs are cleaned up
* horizontal bar chart labels don't insert line breaks
* charts aren't added multiple times.

Also includes a minor refactoring for event-registration, and replacement of images in show.html with an HTML sample of a horizontal bar chart.
Just a small formatting correction, the closing square bracket  and parenthesis would preferably be better on line 109 (syntactical freak :))