get flickr pic by javascript