I'm making a webmap using ArcGIS online that is going to be used in a javascript html webmap. I want the webmap to show all the layers in a legend on the webpage, but they don't show up unless they're selected in the content pane. Is there anyway to show the layers in the legend without having them selected in the content pane?