ArcGIS API for JavaScript: dev/collection_priority (MapServer)
Built using the ArcGIS API for JavaScript