Simple and secure encrypted chat in JavaScript