updated to use v3.2 compact of the ArcGIS JS API