Optional curve25519 in js
Add js