Actually it did was one of the plugins, the previous theme the site was using didn’t bundled the JavaScript and we had to install a plugin to bundle them, seems it was stripping away something.
Thank you