updated to JSAPI v3.8

tested in Chrome, FF, and IE 10 - worked in FF, same issues in Chrome and IE as w/ 3.7