[#3] Greg, Charles and Dj - minor refactors to the legend HTML
[#3] Greg, Charles and Dj - refactors and renames variables and functions in the province and legend controller and the province model