Merge pull request #13 from tomwayson/master

updated to JSAPI v3.9