updated to JSAPI v3.8
Merge pull request #7 from tomwayson/jsapi3.8

updated to JSAPI v3.8