Fixing jslint complaints.