fix jshint warnings
fix test case: missing configuration before testing existence of gc.js