add linting
remove dead function
fix hubspot errors. reference
Merge pull request #106 from segmentio/lint

Lint