fix jsapi model