Update getLayerVisibilityByID.jsx