Fix path to run jshint for test code
Fix jshint warnings