Shorter function name for loan calc
Move JavaScript out of HTML