Fixing jshint complaints.