ArcGIS API for JavaScript: uploadLayer (MapServer) Built using the ArcGIS API for JavaScript