Send encrypted messages over the internet with JavaScript