add a simple example (draft) of ajax polling for comparation with
websocket.