Issue 20040: Fixed JSHint problems.