Fixing JSHint warnings.