Specify radix in parseInt

FF was treating 08 as octal, yielding 0, which led to messiness.

Fixes #40.