Small changes to pass JSHint.