Merge pull request #11 from tomwayson/master

merged
updated to JSAPI v3.9