Added some initial jsdoc.
[Fixes #2] Escape single quote literals in the msg body.