`$.IsArray` has been deprecated in jQuery 3.2 and completely removed in jQuery 4. See [docs](https://api.jquery.com/jQuery.isArray/) Replace all occurences of `$.isArray` with `Array.isArray`