Make fire chat compatible with JS and python
implementations.