Do you use Key Escrow for private key storage? How can the other receiver decrypt the file using his browser only? Where do you store the private key?
The users private key is AES encrypted with the password as key and sent to the server for storage. A JSON hash of their contacts is also encrypted in the same way and sent to the server for storage.