jQuery\'s getScript function doesn\'t seem to support an error callback function. I can\'t use the global ajax error handling code here, a local error function would be idea
jquery.ajax has a alternative way to handle error
jQuery.ajax({ type: "GET", url: 'http://www.example.com/script_test.js', dataType: "script", error: function (XMLHttpRequest, textStatus, errorThrown) { console.log('error ', errorThrown); }, success:function(){ console.log('success'); } });