Fix errors reported by jshint.