A basic Loan Calculator ,in js