The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
Why do you think that https://github.com/npm/abbrev-js is a good alternative to jsbn