Specify radix for parseInt

By specifying a radix for parseInt, we make sure that all numbers are being parsed as base 10, and thus guarantee a predictable behaviour.