Added AJAX log updating