`parseInt()` should not be called without a radix argument; you'll want `10` for decimal.