Fixed the ajax frontpage view (closes #37)