All I need are to get a private and public keypair for ECDSA. Stanford Javascript Crypto Library does it in a non-standard way ( https://groups.google.com/forum/?fromgroups#!topic/sjcl-discuss/UaWUyMWS3Rs ) and that's useless to me - like what's the point of making a MD5 library that gives different results to everything else?
Is there an actual, working way to use ECDSA in javascript?
The jsrsasign 4.0.0 now supports ECDSA signing and verification with EC private and public key.
http://kjur.github.io/jsrsasign/
I think this meets your needs. Here is a demo page.