Pure js Flickr based gallery