Move jshint to pretest script and use dir names for Windows compatibility.