jshint

Minor jshint fixes, namely semicolons, spaces, and adding a radix parameter to the parseInt function (parse the integer as a base 10 number).