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