ArcGIS API for JavaScript: External/HistoryWriter (MapServer)
Built using the ArcGIS API for JavaScript