Fixed the potential base issues with `parseInt`
Merge pull request #1 from JamesMGreene/parseInt_safety

Fixed the potential base issues with `parseInt`