fix for Safari, IE, iOS chat

missing check to kill chat window if not supported, fixed.