added encodeURIComponent() around API urls
switched to noEmbed for flickr since flickr took away CORS.
removed console.log