upgrade to esri js api version 3.8