Fixing JSHint error