JSFiddle - React, Tailwind, and code Playground

HTML

<body>
	
	<div id="test">Testing JSONP</div>
	
</body>

JavaScript

$(document).ready(function() {
 	$('#test').html("Start loading");
    $.ajax({
		  type: 'GET',
		  url: "http://www.nightoferror.nl/data/test.js", 
		  dataType: 'jsonp',
		  crossDomain: true,
		  error: function(data) {
		    $('#test').text('error', data);
		  },
		  success: function(data) {
		    $('#test').text('success', data);
		  }
	});
});