Refactoring messageSystem: added async ajax requests to the new PollServlet.