showing last message from websocket on the page