minimize portrait requests and 404s with AJAX