Fixed checkbox in hide/show all

Long titles push terms lower
Renamed updateSize to avoid confusion with native Openlayers function
Moved constants to top
Long titles push terms lower
Merge pull request #108 from jehope/jehLegendFixes

Jeh legend fixes