Interactive mapping application using the ArcGIS javascript api