jshint fixes
move digestion config to separate file