legend color fixes for new bootstrap
cleaning up the look and feel of the legends as well as the JS
change the color themes slightly