JS representations of messages