hotfix for IE and Safari in Chat module