A JavaScript library for common financial calculations