fix parsInt: which doesn't work for octal numbers without radix

`parseInt` does not understand octal numbers, for example:`parseInt('0777')` is `777`