ArcGIS API for JavaScript: Tools/CreateWatershedWMAP (MapServer)
Built using the ArcGIS API for JavaScript