It's recommended to always give parseInt a radix parameter: http://jslinterrors.com/missing-radix-parameter/