updated to JSAPI v3.9
Merge pull request #13 from tomwayson/master

updated to JSAPI v3.9