misc fixes

- ensure endVal is passed as a number
- comments on easeOutExpo since it differs from Robert Penner’s
original function
- remove ‘else’ statement because @lifthrasiir’s fix eliminated need
for it
- declare vars in addCommas function