Javascript 'undefined' error in IE8- only
===

My script at http://www.mincovlaw.com/interest/calculate is working fine in FF, Chrome, Safari and IE9.

I've just realized that it throws an `'newamount' is undefined` error in IE8.

Any idea why that may be happening?