Using ESRI Arcgis Javascript API and Knockout js MVVM design pattern