 "s" : "");
			};

			// Ask Flickr for images.   This calls jsonFlickrFeed rather than coming in the promise result, not sure why.
			script.get("http://api.flickr.com/services/feeds/photos_public.gne", {
				query: {tags: "cat,dog,cow", tagmode: "any", format: "json"},
				handleAs: "text/javascript",
				preventCache: true
			}).otherwise(
				function(){
					dom.byId("status").innerHTML = "Flickr failed to return images";
				}
			);
		});
	</script>
</head>
<body>
	<h1>Sort Flickr images by tags</h1>
