fix samle chat webpage for firefox