A simple example of ajax long polling