It's open-sourced under the MIT license if you want to play around and tell me what I did wrong. Or EVEN BETTER if you want to make little calculators yourself. Pull requests welcome.
https://github.com/postlight/account
https://github.com/postlight/account