Fixed the potential base issues with `parseInt`

[`parseInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt) can prove to return unexpected results if the radix of `10` is not explicitly provided to ensure base-10 decimal parsing.