Port AJAX request to jQuery instead of XHR
Using $.getScript()