I do something similar myself, mine includes the fields value return format. In my version I use and acf/prepare_field filter to add hidden content to the field label and the JS is only used to show this hidden information when it is there. I have an admin options page where this can be turned on and off so that I can easily disable it when dev is done. The prepare_field filter checks this option and then output the hidden data if it is on.
I don’t have an example readily available.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users