Fix single-quoting in messages, and obscure for js