Fix errors found by jshint.