ArcGIS API for JavaScript: Python/MakeFeatureLayer (MapServer)
Built using the ArcGIS API for JavaScript