@yumyo I don’t think you are experiencing a JS problem. With that many categories on the site try unchecking Taxonomy in the filters. In order to use this filter ACF loads and sorts all of the taxonomy/terms for the site.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users