add intregation with page and server ( websocket/ajaxpolling)