send dom change to server via web socket