Fixed some jshint problems.