ArcGIS API for JavaScript: AP_Grid_Map/gridmapkml (MapServer)
Built using the ArcGIS API for JavaScript