Include function after AJAX request for other JS triggers.