Integration of ESRI JS with Durandal framework