use an explicit radix parameter for parseInt() calls to make JSHint happy again