Javascript timer for displaying a warning before a server side session is lost. Uses async requests to update server side timer.