It seems you are not inside a closure here. In that case it makes very little sense to declare a global variable to store a local context.
IMO all of our js should be refactored to use closures but that would be a very time-consuming project. For now I think you could just get rid of the variable and change line 199 to `CRM.$('table.campaigns', '#campaignList').dataTable({`