Adding AJAX to home page