upgrade to ArcGISJS api 3.8