Fixing JSHint reports