malware is causing issues in google chrome

In my MacBook Air, whenever I search something in google, some adds are appearing out of no where and they’re hiding the actual search results from google. When I checked the developer tools, I found that they were coming from a http request to which is being called from another js file from Can anyone help me fix this issue?

enter image description here