Updated to JSAPI 3.7