#30 replaced jshint with eslint. fixed various eslint warnings