Fixing JSHint errors.