JavaScript Examples Let The Banners Fly! Days Till The Millenium Mortgage Calculator In this example the JavaScript is placed inside the <head> tags. You can copy and paste this rather large script from the box below. Number ofMonths InterestRate Principal Monthly payment Mortgage Calculator Mortgage Calculator Number ofMonths InterestRate Principal Monthly payment