linting and adding missing require'd dep