Image viewer using JavaScript and the Flickr API