remove lots of unused var and a unused dependency

Ah, some of these imports are there for [mock](https://github.com/Colingo/mock#example)'s benefit (it suggests importing the module before mocking it) -- though it might be that we can get away without that use since it seems to be browserify-specific.