updated to ver 3.9 of JSAPI