Added ability to translate chat messages between flash and html5.