bubbles title & messages should be encoded for javascript