Updated to use ArcGIS JS version 3.10