The example in Javascript for Loan Calculator