Reworked the AJAX loading of the content.