Load older messages using AJAX