Developing large scale applications using Web API, Dojo, and ArcGIS API for JavaScript