Open source p2p otr encrypted chat and self-destructing messages. OTR.TO
Use:
PeerJS: Simple peer-to-peer with WebRTC
and
<a href="https://github.com/arlolra/otr" rel=nofollow">Off-the-Record Messaging Protocol implemented in JavaScript.
For self-destructing messages: Crypto-js.