JSHint-related fixes.