Editing Application using Esri JavaScript API