updated to v3.8 of the Esri JSAPI