added AJAX to homepage