ajax requests and templates for homepage, and individual image sets