A simple javascript code ,serves as a loan calculator