Create the AJAX system to check new notifications every 10 seconds.