add debug true to jshint
things refactored