$(document).ready (function (e) {

	// Configuration
	var flicker_api_endpoint = 'https://api.flickr.com/services/';
	var flicker_api_public_key = '9dcf1f2f5c566d293d230fe0a9860ec6';
	
	
	// Make api calls
	$('[name="query-form"]').unbind ().submit (function (e) {
		
		// Prevent default
		e.preventDefault ();
		
		
		// Retrieve query
		var keyword = $('[name="query"]').val (); 
		
		
		$.ajax ({
			url: flicker_api_endpoint + 'flickr.interestingness.getList',
			data: {
				api_key: flicker_api_public_key
			}
		}).success (function (r) {
			console.log (r);
		});
		
		
		
		// Prevent submit
		return false; 
	});

});
@@ -402,21 +402,232 @@
 %0D%0A%09%09
-%0D%0A%09%09$.ajax (%7B
+$.getJSON('http://api.flickr.com/services/rest/?&amp;method=flickr.photosets.getPhotos&amp;api_key=' + apiKey + '&amp;photoset_id=72157619415192530&amp;format=json&amp;jsoncallback=?',%0D%0A%09%09%0D%0A%09%09$.ajax (%7B%0D%0A%09%09%09dataType: %22jsonp%22,
 %0D%0A%09%09
@@ -865,8 +865,10 @@
 ;%0D%0A%0D%0A%7D);
+%0D%0A

Update JSONP