Updating to arcgis javascript api 3.9