Generate private key in browser using forge.