remove some unused code from jshint analysis (refs #121)