Adds config for jshint and mocha tests to config
Removes dead code