added Flickr API and javascript