JavaScript 3 ArcGIS Server inv