So, we can use
jQuery.ajax({
success: function(result){}
});
to make an Ajax request, and get the result.
Now, I found out that you can't select anything inside the head tag of the result. this simply fails:
jQuery( 'script', result )
but I can select div's and such. Why? How to get around this?