working javascript modification
calculating payments per month with javascript