Simple Interest Calculation Using JavaScript