Improving a Flickr Plugin with jQuery