ArcGIS API for JavaScript: MapServices/GenRefReference (MapServer)
Built using the ArcGIS API for JavaScript