Always show the Legend button.

Also clean up some jshint warnings.
Merge pull request #393 from NICTA/alwaysShowLegend

Always show the Legend button.