fixing chat to work with ie 8