Minor fixes

Fixed some missing semicolons and specified the radix value for the `parseInt()` function.