ArcGIS Javascript TOC Legend widget