This work is a literate program to calculate an amortization schedule that produces JavaScript source code. The author used the amazing org-mode that works inside the powerful GNU Emacs editor.
The HTML program documentation is at http://petermoresi.github.io/amortize-js/.
A example using the code is at petermoresi.github.io/loan-calculator/loan-calculator.html
For the source code (e.g literate program) please see amortize.org.