Fix problems found with jshint.com