ArcGIS API for JavaScript: WMAS/Libraries (MapServer)

Built using the ArcGIS API for JavaScript