ArcGIS API for JavaScript: ProgramManagement/JS_Lines_MidPoint (MapServer)
Built using the ArcGIS API for JavaScript