added flickrapi for js