Hey @stanleylitespeed,
thank you for your answer.
I disabled all plugins and the javascript errors were still there. We are using the Agency version of Beaver Builder, I think this will be the difference.
I found the setting “URI Excludes” in the Tuning tab, which solved the problem. Here I entered “fl_builder”, because this string always occurs in the URL, if you edit pages with the Beaver Builder.