Replaced bulky manual ajax calls with call to library function.
Merge branch 'flickr-minmax'

Closes #101.