eliminate parseIntIgnoringLeadingZeros(), replace with parseInt(foo, 10)