CSP compatibility for flot legend
Fix an unrelated style guide violation merged earlier today
Address formatting concerns

* Removed self-closing tags
* Move the the nested divs into variables
* Expand the object literals for easier reading
Fix a serious oversight that occurred when merging pull request #919 into 0.9-work for this pull request
Fix the jQuery tag creation process
Move the rowBuffer definition closer to it's usage within the method
Merge pull request #1184 from anthonyryan1/0.9-work

CSP compatibility (flot core)