ArcGIS API for JavaScript: AGOL/SAP (MapServer)

Built using the ArcGIS API for JavaScript