   $(function(){
	  
		$.ajaxSetup({
			scriptCharset: "utf-8", //or "ISO-8859-1"
			contentType: "application/json; charset=utf-8"
		});

		$.getJSON('http://whateverorigin.org/get?url=' + 
			encodeURIComponent('http://www3.ntu.edu.sg/cits2/CITS_web_resources/UI/headerfooter/standard/responsive/header.htm') + '&callback=?',
			function (data) {
				console.log("> ", data);
				$("#remoteHeader").html(data.contents);
		});

		$.getJSON('http://whateverorigin.org/get?url=' + 
			encodeURIComponent('http://www3.ntu.edu.sg/cits2/CITS_web_resources/UI/headerfooter/standard/responsive/footer.htm') + '&callback=?',
			function (data) {
				console.log("> ", data);
				$("#remoteFooter").html(data.contents);
		});	  
	  });

