ArcGIS API for JavaScript: Elements/ElementsXSTasks (MapServer)
Built using the ArcGIS API for JavaScript