make linting and npm test pass
still need actual tests!