finish refreshing the page when receiving a jjmessage