stop infinite loop when number of pages in search result is 0
update jquery to version 1.11.0 from code.jquery.com CDN
retrieve auth.php redirect url from config variable instead of hardcoding value
add example apikey.inc.php.template and gitignore apikey.inc.php
fix $.getJSON callback syntax, add call for login page since it fails on initial page load anyway
hardcode my own api key and signature in auth redirect url
strip of -1, -2, -3, etc. suffixes from title (shotwell seems to have added those for existing filenames)